package org.example.service;


import org.example.pojo.UserInfoRegisterRequest;
import org.example.pojo.UserInfoRequest;
import org.example.pojo.UserInfoResponse;
import org.example.pojo.UserLoginResponse;

public interface UserService {
    UserLoginResponse login(UserInfoRequest user);

    UserInfoResponse getUserInfo(Integer userId);

    UserInfoResponse selectAuthorInfoByBlogId(Integer blogId);
    Integer registerUser(UserInfoRegisterRequest user);
}
